<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta
      http-equiv="X-UA-Compatible"
      content="IE=edge"
    />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0"
    />
    <title>Document</title>
    <link
      rel="stylesheet"
      href=""
    />
    <style>
      html,
      body {
        height: 100%;
        margin: 0;
        padding: 0;
        cursor: none;
      }
      img {
        width: 40px;
        height: 40px;
        display: block;
        position: fixed;
      }
    </style>
  </head>
  <body>
    <img
      src="./Aatrox.png"
      alt=""
    />
    <script src=""></script>
    <script>
      const image = document.querySelector('img')
      document.body.addEventListener('mousemove', (e) => {
        image.style.left = e.pageX - image.offsetWidth / 2 + 'px'
        image.style.top = e.pageY - image.offsetHeight / 2 + 'px'
      })
    </script>
  </body>
</html>
